hdc shell mount -o rw,remount /

:: av_codec
cd av_codec
hdc file send hcodec_demo /system/bin
hdc file send libav_codec_client.z.so /system/lib/platformsdk
hdc file send libav_codec_suspend_client.z.so /system/lib/platformsdk
hdc file send libav_codec_media_engine_filters.z.so /system/lib

hdc file send libav_codec_media_engine_modules.z.so /system/lib
hdc file send libav_codec_service_dfx.z.so /system/lib
hdc file send libav_codec_service_utils.z.so /system/lib
hdc file send libav_codec_service.z.so /system/lib

hdc file send libavc_encoder.z.so /system/lib
hdc file send libfcodec.z.so /system/lib
hdc file send libhcodec.z.so /system/lib
hdc file send libhevc_decoder.z.so /system/lib

hdc file send libmedia_plugin_AudioServerSink.z.so /system/lib/media/media_plugins
hdc file send libmedia_plugin_DataStreamSource.z.so /system/lib/media/media_plugins
hdc file send libmedia_plugin_FFmpegAudioDecoders.z.so /system/lib/media/media_plugins
hdc file send libmedia_plugin_FFmpegAudioEncoders.z.so /system/lib/media/media_plugins

hdc file send libmedia_plugin_FFmpegDemuxer.z.so /system/lib/media/media_plugins
hdc file send libmedia_plugin_FFmpegMuxer.z.so /system/lib/media/media_plugins
hdc file send libmedia_plugin_FileFdSource.z.so /system/lib/media/media_plugins
hdc file send libmedia_plugin_FileSource.z.so /system/lib/media/media_plugins

hdc file send libmedia_plugin_G711aAudioDecoder.z.so /system/lib/media/media_plugins
hdc file send libmedia_plugin_G711muAudioDecoder.z.so /system/lib/media/media_plugins
hdc file send libmedia_plugin_G711muAudioEncoder.z.so /system/lib/media/media_plugins
hdc file send libmedia_plugin_HttpSource.z.so /system/lib/media/media_plugins

hdc file send libmedia_plugin_LbvcAudioDecoder.z.so /system/lib/media/media_plugins
hdc file send libmedia_plugin_LbvcAudioEncoder.z.so /system/lib/media/media_plugins
hdc file send libmedia_plugin_Mp3AudioEncoder.z.so /system/lib/media/media_plugins
hdc file send libmedia_plugin_RawAudioDecoder.z.so /system/lib/media/media_plugins

hdc file send libnative_media_acodec.so /system/lib/ndk
hdc file send libnative_media_adec.so /system/lib
hdc file send libnative_media_aenc.so /system/lib
hdc file send libnative_media_avcencinfo.so /system/lib/ndk

hdc file send libnative_media_avdemuxer.so /system/lib
hdc file send libnative_media_avmuxer.so /system/lib
hdc file send libnative_media_avsource.so /system/lib
hdc file send libnative_media_codecbase.so /system/lib

hdc file send libnative_media_vdec.so /system/lib
hdc file send libnative_media_venc.so /system/lib

:: ffmpeg
cd ../thirdparty/ffmpeg
hdc file send libohosffmpeg.z.so /system/lib/chipset-sdk

:: media_foundation
cd ../../media_foundation
hdc file send libhistreamer_base.z.so /system/lib
hdc file send libhistreamer_codec_filters.z.so /system/lib
hdc file send libhistreamer_ffmpeg_convert.z.so /system/lib
hdc file send libhistreamer_plugin_base.z.so /system/lib

hdc file send libhistreamer_plugin_CodecAdapter.z.so /system/lib/media/histreamer_plugins
hdc file send libhistreamer_plugin_FFmpegAudioDecoders.z.so /system/lib/media/histreamer_plugins
hdc file send libhistreamer_plugin_FFmpegAudioEncoders.z.so /system/lib/media/histreamer_plugins
hdc file send libhistreamer_plugin_FFmpegDemuxer.z.so /system/lib/media/histreamer_plugins

hdc file send libhistreamer_plugin_FFmpegMuxers.z.so /system/lib/media/histreamer_plugins
hdc file send libhistreamer_plugin_FFmpegVideoDecoders.z.so /system/lib/media/histreamer_plugins
hdc file send libhistreamer_plugin_FFmpegVideoEncoders.z.so /system/lib/media/histreamer_plugins
hdc file send libmedia_foundation.z.so /system/lib/platformsdk

hdc file send libmedia_monitor_buffer.z.so /system/lib/platformsdk
hdc file send libmedia_monitor_client.z.so /system/lib/platformsdk
hdc file send libmedia_monitor_common.z.so /system/lib/platformsdk
hdc file send libmedia_monitor.z.so /system/lib
hdc file send libmedia_monitor_wrapper.z.so /system/lib
hdc file send libnative_media_core.so /system/lib/ndk

hdc shell reboot

pause